App({
    async onLaunch() {
        wx.cloud.init({
          env: "cloud1-0gpkbmncaee89563"
        })
        // wake up
        wx.cloud.callContainer({
            "config": {
              "env": "prod-8g6k5cfre7cd634b"
            },
            "path": "/",
            "header": {
              "X-WX-SERVICE": "product-manager",
            },
            "method": "GET",
          })
        // 初始化商品数据
        wx.setStorageSync('cartList', [])
    },
    globalData: {
        goodsList: [],
        openid: null
    }
});
